package com.java.onlineshop.dao;

import com.java.onlineshop.pojo.Country;
import com.java.onlineshop.pojo.Province;
import com.java.onlineshop.pojo.User;
import com.java.onlineshop.pojo.Userinfo;

import java.sql.SQLException;
import java.util.List;

public interface IUserDao
{
    List<Country> findAllCountry();
    List<Province> findAllProvince();
    void addUser(User user);
    User findUserByNameAndPassword(String name,String password);
    void updateUser(User user) throws SQLException;
}
